/******************************************************************************
 *   ObjectFS - Embedded Object File-System
 *
 *   Provides a full, simple no-nonsense file-system for simple embedded devices.
 *   Written by James Walmsley, james@fullfat-fs.co.uk
 *
 *   Copyright 2010 James Walmsley
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 *
 *
 *   Removing the above notice is illegal and will invalidate this license.
 *****************************************************************************/

/*


*/

#ifndef _OFS_FILE_H_
#define _OFS_FILE_H_

#include "ofs_types.h"
#include "ofs_error.h"
#include "ofs.h"

OFS_ERROR	OFS_Open		(OFS_MANAGER *pOMan, OFS_OBJECT *pObject, const OFS_INT8 *szpName);
OFS_UINT	OFS_Read		(OFS_OBJECT *pObject, OFS_INT32 nSize, void *pBuffer, OFS_ERROR *pError);
OFS_UINT32	OFS_Write		(OFS_OBJECT *pObject, OFS_INT32 nSize, void *pBuffer, OFS_ERROR *pError);


#endif
